package com.yb.core.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Copyright (C), 2022-2022, 姚兵
 * Author: 32210
 * Date: 2022/12/9 15:51
 * FileName: DesensitizedUtil
 * Description:
 */
public class DesensitizedUtil {

    @Getter
    @AllArgsConstructor
    public enum DesensitizedType {
        //用户id
        USER_ID(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.USER_ID),
        //中文名
        CHINESE_NAME(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.CHINESE_NAME),
        //身份证号
        ID_CARD(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.ID_CARD),
        //座机号
        FIXED_PHONE(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.FIXED_PHONE),
        //手机号
        MOBILE_PHONE(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.MOBILE_PHONE),
        //地址
        ADDRESS(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.ADDRESS),
        //电子邮件
        EMAIL(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.EMAIL),
        //密码
        PASSWORD(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.PASSWORD),
        //中国大陆车牌，包含普通车辆、新能源车辆
        CAR_LICENSE(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.CAR_LICENSE),
        //银行卡
        BANK_CARD(cn.hutool.core.util.DesensitizedUtil.DesensitizedType.BANK_CARD);

        private cn.hutool.core.util.DesensitizedUtil.DesensitizedType desensitizedType;
    }

}
